#!/usr/bin/env python

import wx

class Group(wx.ComboBox):
    '''Group class
    
    @author Julot <andy.julot@gmail.com>
    @since Wednesday, February 29, 2012. 09:57 AM'''
    
    def __init__(self, parent):
        style=wx.TE_PROCESS_ENTER
        super(Group, self).__init__(parent, style=style)

    @property
    def models(self):
        return None
    
    @models.setter
    def models(self, models):
        items = []
        for model in models:
            items.append(model.name)
        self.Items = items